/*
 * @Author: xiaosihan
 * @Date: 2025-01-27 11:56:41
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-01-27 11:57:35
 */

// homeStore.ts

import { observable, configure } from "mobx";
configure({ enforceActions: "never" });
const homeStore = observable(
  {
    runtime: 0,
    setRuntime(runtime: number) {
      this.runtime = runtime;
    },

    //第一人称
    firstPerson: false,
    setFirstPerson(firstPerson: boolean) {
      this.firstPerson = firstPerson;
    },
  },
  {},
  { deep: false }
);
export default homeStore;
